package com.enum1;

public class Demo1 {
    public String getChineseSeason(SeasonEnum sesson) {
        String chineseSeason = "";
        switch (sesson) {
            case SPRING:
                chineseSeason = "春天";
                break;
            case SUMMER:
                chineseSeason = "夏天";
                break;
            case AUTUMN:
                chineseSeason = "秋天";
                break;
            case WINTER:
                chineseSeason = "冬天";
                break;
        }
        return chineseSeason;
    }

    public static void main(String[] args) {
        Demo1 demo1 = new Demo1();
        System.out.println(demo1.getChineseSeason(SeasonEnum.SPRING));
    }
}
